All Questions
Tagged with stateimmutability
5 questions
1vote
5answers
370views
Is storing computed values always bad?
Edit: I'm copying the question but changing the example code. Apparently, I used a bad example earlier that contained an imprue getter. I'm keeping the old example code at the bottom so the first ...
1vote
1answer
196views
What does it mean "state complects value and time"?
I'm rewatching Rich Hickey great talk "Simple Made Easy" And around min 35:40 when talking about state, mentions that State complects value and time, but I'm not sure I'm understanding this ...
-2votes
1answer
442views
HTML5/Canvas Graphics editor and Immutable state (EaselJS and Redux, ngrx/store)
This question is about the architecture approach. How would someone go about creating the immutable state for a graphics editor that would eventually provide an "undo/redo" functionality, considering ...
17votes
4answers
3kviews
When programming in Functional style, do you have a single application state that you weave through the application logic?
How do I construct a system that has all of the following: Using pure functions with immutable objects. Only pass into a function data that the function it needs, no more (i.e. no big application ...
14votes
4answers
1kviews
Isn't functional paradigm too divergent with underlying hardware to be generally efficient?
Inspired by a question from SO: https://stackoverflow.com/questions/6623391/how-to-gain-control-of-a-5gb-heap-in-haskell It can be a long debate about FP's numerous advantages and disadvantages, but ...